Finding HTML table row and column index values

If you are testing dynamic HTML tables, you may need to retrieve the row or column index from a table during playback to use in the GetControlFromTable statement. QA Wizard Pro includes the following statements for finding row and column indexes in HTML tables:

FindColumnByRowIndex

Searches an HTML table row to locate a cell or control in a cell that matches property values and returns the column index of the cell. See FindColumnByRowIndex.

Window("WindowName").Control("ControlName").FindColumnByRowIndex(SearchRowIndex, "PropertyName", "ExpectedValue", ...)

FindRowByColumnIndex

Searches an HTML table column to locate a cell or control in a cell that matches property values and returns the row index of the cell. See FindRowByColumnIndex.

Window("WindowName").Control("ControlName").FindRowByColumnIndex(SearchColIndex, "PropertyName", "ExpectedValue", ...)

Note: If the control is not found, -1 is returned as the index value.